package com.cyl.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("site")
public class Site {

    //ID
    @TableId(type = IdType.AUTO)
    private Integer id;

    //用户id
    private String userId;

    //站点名称
    private String siteName;

    //充电站管理员
    private String siteAdmin;

    //充电站位置
    private String siteLocation;

    //图片链接
    private String avatarUrl;

    //创建时间
    private LocalDate createTime;

    //更新时间
    private LocalDate updateTime;

}
